Tor Lillqvist [Sat, 7 Jun 2008 04:19:54 +0000 (04:19 +0000)]
Bug 536990 - updateiconcache.c: 'close ()' is redundant
2008-06-07 Tor Lillqvist <tml@novell.com>
Bug 536990 - updateiconcache.c: 'close ()' is redundant
* gtk/updateiconcache.c (build_cache): Drop redundant close()
calls. fclose() on a fdopen()ed strema closes the underlying file
descriptor.
svn path=/trunk/; revision=20327
Matthias Clasen [Fri, 6 Jun 2008 20:57:50 +0000 (20:57 +0000)]
Return the right coordinates
svn path=/trunk/; revision=20325
Behdad Esfahbod [Fri, 6 Jun 2008 16:39:37 +0000 (16:39 +0000)]
Bug 536185 – monitor font configuration
2008-06-06 Behdad Esfahbod <behdad@gnome.org>
Bug 536185 – monitor font configuration
* configure.in:
* gdk/x11/gdksettings.c:
* gtk/gtksettings.c (gtk_settings_class_init),
(gtk_settings_notify), (settings_update_fontconfig):
Monitor xsettings key Fontconfig/Timestamp and upon change,
reread fontconfig configuration, clear Pango's caches, and
redraw all widgets.
svn path=/trunk/; revision=20324
Ross Burton [Fri, 6 Jun 2008 09:55:06 +0000 (09:55 +0000)]
Fix trivial typo in documentation.
2008-06-06 Ross Burton <ross@burtonini.com>
* gtk/gtkwindow.c:
Fix trivial typo in documentation.
svn path=/trunk/; revision=20323
Li Yuan [Fri, 6 Jun 2008 03:13:48 +0000 (03:13 +0000)]
Before emitting "text_caret_moved", change the cursor to the changed
2008-06-06 Li Yuan <li.yuan@sun.com>
* gail/gaillabel.c: (gail_label_real_notify_gtk):
Before emitting "text_caret_moved", change the cursor to the
changed bound. Bug #536927.
svn path=/trunk/; revision=20322
Tor Lillqvist [Thu, 5 Jun 2008 22:39:06 +0000 (22:39 +0000)]
Slight update to match what configure produces.
2008-06-06 Tor Lillqvist <tml@novell.com>
* config.h.win32.in: Slight update to match what configure
produces.
svn path=/trunk/; revision=20321
Johan Dahlin [Thu, 5 Jun 2008 13:16:43 +0000 (13:16 +0000)]
Add the new version mismatch error constant to the end of the list, to
2008-06-05 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtkbuilder.h (enum): Add the new version mismatch error
constant to the end of the list, to avoid breaking the stable ABI
svn path=/trunk/; revision=20319
Michael Natterer [Thu, 5 Jun 2008 09:34:16 +0000 (09:34 +0000)]
add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
2008-06-05 Michael Natterer <mitch@imendio.com>
* configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
svn path=/trunk/; revision=20317
Li Yuan [Thu, 5 Jun 2008 07:52:25 +0000 (07:52 +0000)]
Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>. Correct
2008-06-05 Li Yuan <li.yuan@sun.com>
* gail-uninstalled.pc.in:
Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
Correct paths to gail headers and libraries in
gail-uninstalled.pc.in.
svn path=/trunk/; revision=20316
Priit Laes [Thu, 5 Jun 2008 05:44:10 +0000 (05:44 +0000)]
Translation updated by Ivar Smolin
2008-06-05 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=20315
Petr Kovář [Wed, 4 Jun 2008 20:25:06 +0000 (20:25 +0000)]
Updated Czech translation.
svn path=/trunk/; revision=20313
Matthias Clasen [Wed, 4 Jun 2008 03:28:55 +0000 (03:28 +0000)]
Updates
svn path=/trunk/; revision=20312
Matthias Clasen [Tue, 3 Jun 2008 23:47:01 +0000 (23:47 +0000)]
2.13.2
svn path=/trunk/; revision=20311
Matthias Clasen [Tue, 3 Jun 2008 23:44:33 +0000 (23:44 +0000)]
2.13.2
svn path=/trunk/; revision=20309
Federico Mena Quintero [Tue, 3 Jun 2008 18:08:48 +0000 (18:08 +0000)]
bnc355225 - File chooser crash in Tab completion
2008-06-03 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
If the user presses Tab while the completion feedback window is
active, then we'll assert. Remove the assertion and just re-set
the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20305
Colin Walters [Tue, 3 Jun 2008 17:39:20 +0000 (17:39 +0000)]
Bug 535303 – add _get_implementation to GtkStatusIcon
2008-06-03 Colin Walters <walters@redhat.com>
Bug 535303 – add _get_implementation to GtkStatusIcon
* gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
function to retrieve internal X11 window ID, useful for libnotify.
* gtk/gtkstatusicon.h: Prototype it.
* docs/reference/gtk/gtk-sections.txt: Add to docs.
* gtk/gtk.symbols: Export it.
svn path=/trunk/; revision=20304
Tor Lillqvist [Tue, 3 Jun 2008 11:04:33 +0000 (11:04 +0000)]
Use g_open().
2008-06-03 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (build_cache): Use g_open().
svn path=/trunk/; revision=20303
Michael Natterer [Tue, 3 Jun 2008 08:38:59 +0000 (08:38 +0000)]
gtk/gtkclist.h revert includes to how they have been before the
2008-06-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.h
* gtk/gtkctree.h: revert includes to how they have been before the
GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
that you can't include <gtk/gtk.h> from two headers where one is a
parent class of the other and expect them both to be includable
individually.
svn path=/trunk/; revision=20302
Michael Natterer [Tue, 3 Jun 2008 08:17:06 +0000 (08:17 +0000)]
remove newline at beginning of file.
2008-06-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkprinteroptionset.h: remove newline at beginning of file.
svn path=/trunk/; revision=20301
Priit Laes [Tue, 3 Jun 2008 07:29:12 +0000 (07:29 +0000)]
Translation updated by Ivar Smolin
2008-06-03 Priit Laes <plaes at svn dot gnome dot org>
* et.po: Translation updated by Ivar Smolin
svn path=/trunk/; revision=20300
Matthias Clasen [Tue, 3 Jun 2008 02:48:37 +0000 (02:48 +0000)]
Bug 536092 – GtkEntryCompletion's popup window should set type hint
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
a type hint on the popup window to help compiz.
Patch by Vaclav Slavik.
svn path=/trunk/; revision=20294
Matthias Clasen [Tue, 3 Jun 2008 01:50:20 +0000 (01:50 +0000)]
Add GtkPrintOperationPreview
svn path=/trunk/; revision=20292
Claudio Saavedra [Tue, 3 Jun 2008 00:31:10 +0000 (00:31 +0000)]
Bug 535862 – gtk_action_create_icon can't create icons from the icon
2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
Bug 535862 – gtk_action_create_icon can't create icons from the
icon themes
* gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
the default factories as it's supposed.
svn path=/trunk/; revision=20290
Yevgen Muntyan [Mon, 2 Jun 2008 23:20:13 +0000 (23:20 +0000)]
Bug 535497 - Print preview doesn't work.
2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
Bug 535497 - Print preview doesn't work.
* gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
instead of launching Preview.app directly.
svn path=/trunk/; revision=20289
Michael Natterer [Mon, 2 Jun 2008 15:07:35 +0000 (15:07 +0000)]
put back #include <gtk/gtkmarshal.h>, it's not in <gtk/gtk.h>. Fixes stuff
2008-06-02 Michael Natterer <mitch@imendio.com>
* gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
(bug #536126).
svn path=/trunk/; revision=20269
Behdad Esfahbod [Mon, 2 Jun 2008 04:58:36 +0000 (04:58 +0000)]
Add gdk-pixbuf-features.h to BUILT_SOURCES.
2008-06-02 Behdad Esfahbod <behdad@gnome.org>
* Makefile.am: Add gdk-pixbuf-features.h to BUILT_SOURCES.
svn path=/trunk/; revision=20267
Ignacio Casal Quinteiro [Sun, 1 Jun 2008 16:12:14 +0000 (16:12 +0000)]
Updated Galician Translation.
svn path=/trunk/; revision=20266
Ignacio Casal Quinteiro [Sun, 1 Jun 2008 16:10:48 +0000 (16:10 +0000)]
Updated Galician Translation.
svn path=/trunk/; revision=20265
Clytie Siddall [Sun, 1 Jun 2008 13:03:56 +0000 (13:03 +0000)]
Updated Vietnamese translation
svn path=/trunk/; revision=20264
Clytie Siddall [Sun, 1 Jun 2008 13:02:19 +0000 (13:02 +0000)]
Updated Vietnamese translation
svn path=/trunk/; revision=20263
Emmanuele Bassi [Sat, 31 May 2008 18:52:50 +0000 (18:52 +0000)]
Bug 535830 – wrong content type adding an item
2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
Bug 535830 – wrong content type adding an item
* gtk/gtkrecentmanager.c:
(gtk_recent_manager_add_item_query_info): Use the correct API
for retrieving the fast MIME type of a URI. (Carlos Garcia
Campos)
svn path=/trunk/; revision=20262
Kristian Rietveld [Fri, 30 May 2008 22:59:13 +0000 (22:59 +0000)]
Bug 530146 - Setting non-string tooltip with
2008-05-31 Kristian Rietveld <kris@imendio.com>
Bug 530146 - Setting non-string tooltip with
gtk_tree_view_set_tooltip_column() segfaults
* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
gtk_tree_model_get_value() and explicitly transform the value to a
string before setting it as tooltip.
svn path=/trunk/; revision=20261
Matthias Clasen [Fri, 30 May 2008 13:34:52 +0000 (13:34 +0000)]
Fix INCLUDE_ macros
svn path=/trunk/; revision=20259
Tor Lillqvist [Fri, 30 May 2008 12:31:45 +0000 (12:31 +0000)]
modules/engines/ms-windows/msw_style.h Include gtk.h.
2008-05-30 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/msw_style.h
* modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
svn path=/trunk/; revision=20258
Michael Natterer [Fri, 30 May 2008 12:12:19 +0000 (12:12 +0000)]
cast attach_info_free() to GDestroyNotify when using it in
2008-05-30 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
GDestroyNotify when using it in g_object_set_data_full().
svn path=/trunk/; revision=20257
Michael Natterer [Fri, 30 May 2008 12:08:30 +0000 (12:08 +0000)]
gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.h
2008-05-30 Michael Natterer <mitch@imendio.com>
* gdk/gdkapplaunchcontext.h
* gdk/gdktestutils.h
* gtk/gtkmountoperation.h
* gtk/gtkshow.h
* gtk/gtktestutils.h
* gtk/gtktoolshell.h: no need to allow disabling single includes
conditionally in these new files. Simply forbid including them
individually from the beginning.
svn path=/trunk/; revision=20256
Michael Natterer [Fri, 30 May 2008 12:02:19 +0000 (12:02 +0000)]
gtk/gtkmountoperation.h gtk/gtkshow.h gtk/gtktestutils.h no need to allow
2008-05-30 Michael Natterer <mitch@imendio.com>
* gtk/gtkmountoperation.h
* gtk/gtkshow.h
* gtk/gtktestutils.h
* gtk/gtktoolshell.h: no need to allow disabling single includes
conditionally in these new files. Simply forbid including them
individually from the beginning.
svn path=/trunk/; revision=20255
Michael Natterer [Fri, 30 May 2008 11:25:56 +0000 (11:25 +0000)]
gailcellparent.h gailfactory.h tests/testnotebook.c tests/testtext.c
2008-05-30 Michael Natterer <mitch@imendio.com>
* gailcellparent.h
* gailfactory.h
* tests/testnotebook.c
* tests/testtext.c
* tests/testtoplevel.c
* tests/testvalues.c: include <atk/atk.h> instead of individual
files from ATK.
svn path=/trunk/; revision=20254
Luca Ferretti [Fri, 30 May 2008 09:18:18 +0000 (09:18 +0000)]
Pick up updated translation from 2.12 branch
2008-05-30 Luca Ferretti <elle.uca@libero.it>
* po*/it.po: Pick up updated translation from 2.12 branch
svn path=/trunk/; revision=20251
Tor Lillqvist [Fri, 30 May 2008 07:17:40 +0000 (07:17 +0000)]
Bug 533108 - leak of GDI region in function 'handle_wm_paint'
2008-05-30 Tor Lillqvist <tml@novell.com>
Bug 533108 - leak of GDI region in function 'handle_wm_paint'
* gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
Atallah.
svn path=/trunk/; revision=20250
Matthias Clasen [Fri, 30 May 2008 05:12:34 +0000 (05:12 +0000)]
2.13.1
svn path=/trunk/; revision=20248
Matthias Clasen [Fri, 30 May 2008 05:08:50 +0000 (05:08 +0000)]
2.13.1
svn path=/trunk/; revision=20246
Matthias Clasen [Fri, 30 May 2008 03:05:04 +0000 (03:05 +0000)]
Updates
svn path=/trunk/; revision=20245
Matthias Clasen [Fri, 30 May 2008 02:46:49 +0000 (02:46 +0000)]
Fix Since tags
svn path=/trunk/; revision=20244
Matthias Clasen [Fri, 30 May 2008 02:30:19 +0000 (02:30 +0000)]
Updates
svn path=/trunk/; revision=20243
Matthias Clasen [Thu, 29 May 2008 23:12:21 +0000 (23:12 +0000)]
Make make check work.
svn path=/trunk/; revision=20242
Matthias Clasen [Thu, 29 May 2008 21:04:52 +0000 (21:04 +0000)]
Bug 535453 - gdk_pixbuf_format_get_license returns NULL for
any of the loaders
* queryloaders.c (write_loader_info): Add the license info
after the description.
* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Read the license info
from the module file. Reported by Andrey Tsyvarev.
svn path=/trunk/; revision=20241
Jorge Gonzalez Gonzalez [Thu, 29 May 2008 18:41:31 +0000 (18:41 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=20240
Tor Lillqvist [Thu, 29 May 2008 18:23:04 +0000 (18:23 +0000)]
Grammar.
svn path=/trunk/; revision=20239
Tor Lillqvist [Thu, 29 May 2008 18:22:38 +0000 (18:22 +0000)]
Bug 535526 - updateiconcache.c: using open/close without prototype
2008-05-29 Tor Lillqvist <tml@novell.com>
Bug 535526 - updateiconcache.c: using open/close without prototype
* gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
g_utime() instead of utime() for UTF-8 pathname support on Windows
when available.
svn path=/trunk/; revision=20238
Jan Arne Petersen [Thu, 29 May 2008 18:09:01 +0000 (18:09 +0000)]
Bug 56355 – GtkLabel - Not all changes propagate correctly
2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
Bug 56355 – GtkLabel - Not all changes propagate correctly
* gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
(gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
(gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
notifications of mnemonic-keyval changes.
svn path=/trunk/; revision=20237
Matthias Clasen [Thu, 29 May 2008 14:33:49 +0000 (14:33 +0000)]
Bug 522084 – GIcon support for GtkIconTheme & GtkImage
2008-05-27 Matthias Clasen <mclasen@redhat.com>
Bug 522084 – GIcon support for GtkIconTheme & GtkImage
* gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
* gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
* gtk/gtk.symbols: Additions
* tests/testimage.c: Add a GIcon test
svn path=/trunk/; revision=20236
Michael Natterer [Thu, 29 May 2008 13:25:28 +0000 (13:25 +0000)]
add -UGTK_DISABLE_SINGLE_INCLUDES so the code generated by gtkdoc-scangobj
2008-05-29 Michael Natterer <mitch@imendio.com>
* gtk/Makefile.am (CPPFLAGS): add -UGTK_DISABLE_SINGLE_INCLUDES so
the code generated by gtkdoc-scangobj builds.
svn path=/trunk/; revision=20232
Michael Natterer [Thu, 29 May 2008 10:39:52 +0000 (10:39 +0000)]
include <gtk/gtkunixprint.h> instead of individual files.
2008-05-29 Michael Natterer <mitch@imendio.com>
* gtk/gtk.types: include <gtk/gtkunixprint.h> instead of
individual files.
svn path=/trunk/; revision=20231
Michael Natterer [Thu, 29 May 2008 09:34:53 +0000 (09:34 +0000)]
gtk/Makefile.am add a single-include header for the unix print stuff.
2008-05-29 Michael Natterer <mitch@imendio.org>
* gtk/Makefile.am
* gtk/gtkunixprint.h: add a single-include header for the unix
print stuff.
* gtk/gtkpagesetupunixdialog.h
* gtk/gtkprinter.h
* gtk/gtkprintjob.h
* gtk/gtkprintunixdialog.h: add single-include guards that #error
out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
files is included individually.
* gtk/gtkprintbackend.h
* gtk/gtkprinter-private.h
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/cups/gtkprintercups.h
* modules/printbackends/lpr/gtkprintbackendlpr.c
* tests/buildertest.c
* tests/defaultvaluetest.c
* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
individual files.
svn path=/trunk/; revision=20230
Matthias Clasen [Thu, 29 May 2008 04:50:43 +0000 (04:50 +0000)]
Fix for single includes
svn path=/trunk/; revision=20229
Matthias Clasen [Thu, 29 May 2008 04:19:54 +0000 (04:19 +0000)]
Additions
svn path=/trunk/; revision=20228
Matthias Clasen [Thu, 29 May 2008 03:07:01 +0000 (03:07 +0000)]
Bug 535250 - GtkToolButton reference page says "label" where
it should say "icon", uses underscores
* gtk/tmpl/gtktoolbutton.sgml: Improve introduction
svn path=/trunk/; revision=20227
Jorge Gonzalez Gonzalez [Wed, 28 May 2008 17:06:21 +0000 (17:06 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=20226
Michael Natterer [Wed, 28 May 2008 15:35:43 +0000 (15:35 +0000)]
whitespace cleanup: remove trailing whitespace and excess newlines and
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
excess newlines and sprinkled some newlines where needed. Zero
code or formatting changes included.
svn path=/trunk/; revision=20225
Michael Natterer [Wed, 28 May 2008 15:25:36 +0000 (15:25 +0000)]
fix formatting of details_acquired() signal.
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtkprinter.h: fix formatting of details_acquired() signal.
svn path=/trunk/; revision=20224
Michael Natterer [Wed, 28 May 2008 15:20:05 +0000 (15:20 +0000)]
fix comment: the widget is called GtkColorButton, not
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtkcolorbutton.h: fix comment: the widget is called
GtkColorButton, not GtkColorSelectButton. Remove trailing
whitespace and excess newlines.
svn path=/trunk/; revision=20223
Michael Natterer [Wed, 28 May 2008 15:08:57 +0000 (15:08 +0000)]
last but not least, add G_DISABLE_SINGLE_INCLUDES,
2008-05-28 Michael Natterer <mitch@gimp.org>
* configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
to CPPFLAGS so it's impossible to commit code that would break
apps which use DISABLE_INCLUDE defines.
svn path=/trunk/; revision=20222
Michael Natterer [Wed, 28 May 2008 15:07:04 +0000 (15:07 +0000)]
define __GTK_H_INSIDE__ around including all other headers.
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
headers.
* gtk/gtktypebuiltins.h.template
* gtk/gtkversion.h.in
* gtk/gtk*.h: add single-include guards that #error out if
GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
included individually.
* gtk/gtkprintbackend.h
* gtk/gtkprinter-private.h
* gtk/gtktextlayout.h
* gtk/gtktexttagprivate.h
* gtk/gtktexttypes.h
* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
headers in these private or semi-private headers.
* gtk/gtkimmodule.h: also here because it's not in gtk.h.
* gtk/gtkpagesetupunixdialog.h
* gtk/gtkprinter.h
* gtk/gtkprintjob.h
* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
* gtk/gtkclist.h
* gtk/gtkcombo.h
* gtk/gtkctree.h
* gtk/gtkfilesel.h
* gtk/gtkitemfactory.h
* gtk/gtklist.h
* gtk/gtklistitem.h
* gtk/gtkoldeditable.h
* gtk/gtkoptionmenu.h
* gtk/gtkpixmap.h
* gtk/gtkpreview.h
* gtk/gtksignal.h
* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
instead of individual headers in these deprecated headers. They
don't get included at all when GTK_DISABLE_DEPRECATED is defined,
so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
and include them individually, which should continue to work.
* gtk/gtkclist.c: include "gtkctree.h" because of the change
above.
svn path=/trunk/; revision=20221
Kristian Rietveld [Wed, 28 May 2008 14:47:50 +0000 (14:47 +0000)]
Bug 449625 - crash in gtk_tree_view_real_move_cursor at gtktreeview.c:9641
2008-05-28 Kristian Rietveld <kris@imendio.com>
Bug 449625 - crash in gtk_tree_view_real_move_cursor at
gtktreeview.c:9641
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
cursor_offset *must* be larger than background height of the cursor
node, not just equal otherwise there is no guarantee there is a next
node.
svn path=/trunk/; revision=20219
Michael Natterer [Wed, 28 May 2008 14:47:06 +0000 (14:47 +0000)]
don't include <gdk/gdktestutils.h>.
2008-05-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
svn path=/trunk/; revision=20218
Michael Natterer [Wed, 28 May 2008 14:01:57 +0000 (14:01 +0000)]
define __GDK_H_INSIDE__ around including all other headers.
2008-05-28 Michael Natterer <mitch@imendio.com>
* gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
headers.
* gdk/gdkenumtypes.h.template
* gdk/gdk*.h: add single-include guards that #error out if
GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
included individually. Also removed some redundant includes and
did some tiny trailing whitespace removal that's not worth to
commit separately.
* gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
files.
* gdk/win32/gdkwin32.h
* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
other includes.
svn path=/trunk/; revision=20217
Kristian Rietveld [Wed, 28 May 2008 14:00:31 +0000 (14:00 +0000)]
Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the current
2008-05-28 Kristian Rietveld <kris@imendio.com>
Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
current widget again.
* gtk/gtktooltip.c (gtk_tooltip_set_custom),
(gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
custom_was_reset field to check if the custom widget is set again in
the query-tooltip callback; if not, we set it to NULL. Based on a
patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
and Christian Persch.
svn path=/trunk/; revision=20215
Michael Natterer [Wed, 28 May 2008 13:39:52 +0000 (13:39 +0000)]
define GDK_PIXBUF_H_INSIDE around including all other headers.
2008-05-28 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf.h: define GDK_PIXBUF_H_INSIDE around including all
other headers.
* gdk-pixbuf-animation.h
* gdk-pixbuf-core.h
* gdk-pixbuf-enum-types.h.template
* gdk-pixbuf-features.h.in
* gdk-pixbuf-io.h
* gdk-pixbuf-loader.h
* gdk-pixbuf-simple-anim.h
* gdk-pixbuf-transform.h: add single-include guards that #error
out if GDK_PIXBUF_DISABLE_SINGLE_INCLUDES is defined and any of
these files is included individually.
* gdk-pixbuf-private.h: don't incude "gdk-pixbuf-io.h".
* gdk-pixbuf-csource.c: #define __GTK_H_INSIDE__ around including
"../gtk/gtkversion.h". Ugly but needed in this special case.
svn path=/trunk/; revision=20214
Michael Natterer [Wed, 28 May 2008 13:23:18 +0000 (13:23 +0000)]
Move ChangeLog entry to right file.
svn path=/trunk/; revision=20213
Michael Natterer [Wed, 28 May 2008 13:01:15 +0000 (13:01 +0000)]
Fix ChangeLog.
svn path=/trunk/; revision=20212
Michael Natterer [Wed, 28 May 2008 12:59:48 +0000 (12:59 +0000)]
include <gtk/gtk.h> instead of <gtk/gtkaccessible.h>
2008-05-28 Michael Natterer <mitch@gimp.org>
* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
<gtk/gtkaccessible.h>
* modules/other/gail/*.h: don't include anyting from gtk since all
headers indirectly include gailwidget.h.
* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
of individual files.
* modules/other/gail/gailcheckmenuitem.c
* modules/other/gail/gailmenu.c
* modules/other/gail/gailtreeview.c: remove all gtk includes since
it's always included by including any gail header.
svn path=/trunk/; revision=20211
Michael Natterer [Wed, 28 May 2008 12:49:11 +0000 (12:49 +0000)]
modules/printbackends/cups/gtkcupsutils.c
2008-05-28 Michael Natterer <mitch@gimp.org>
* modules/printbackends/cups/gtkcupsutils.c
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/file/gtkprintbackendfile.c
* modules/printbackends/lpr/gtkprintbackendlpr.c: include
<gtk/gtk.h> instead of individual files.
svn path=/trunk/; revision=20210
Michael Natterer [Wed, 28 May 2008 12:47:37 +0000 (12:47 +0000)]
include <gdk-pixbuf/gdk-pixbuf.h> instead of individual files.
2008-05-28 Michael Natterer <mitch@imendio.com>
* demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
individual files.
svn path=/trunk/; revision=20209
Kristian Rietveld [Wed, 28 May 2008 12:20:38 +0000 (12:20 +0000)]
Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
2008-05-28 Kristian Rietveld <kris@imendio.com>
Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
->priv->tree != NULL. Suggestion from Stefan Kost.
svn path=/trunk/; revision=20208
Kristian Rietveld [Wed, 28 May 2008 12:18:39 +0000 (12:18 +0000)]
Dear Kris, we live in 2008 now, not 2006.
svn path=/trunk/; revision=20207
Kristian Rietveld [Wed, 28 May 2008 11:49:20 +0000 (11:49 +0000)]
Bug 324282 - add selected signal to cell renderer combo.
2006-05-28 Kristian Rietveld <kris@imendio.com>
Bug 324282 - add selected signal to cell renderer combo.
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
(gtk_cell_renderer_combo_changed),
(gtk_cell_renderer_combo_start_editing): add a new "changed" signal
that will be emitted as soon as the combo box emitted changed and has
an active iterator. (Modified patch based on work by James
Pelletier).
* gtk/gtkmarshalers.list: add marshaler.
svn path=/trunk/; revision=20206
Kristian Rietveld [Wed, 28 May 2008 09:26:13 +0000 (09:26 +0000)]
Refactor expand/collapse timeout handling (amendment to bug 511217).
2008-05-28 Kristian Rietveld <kris@imendio.com>
Refactor expand/collapse timeout handling (amendment to bug 511217).
* gtk/gtktreeview.c (add_expand_collapse_timeout),
(remove_expand_collapse_timeout): new functions, the remove function
also clears expanded_collapsed_node,
(cancel_arrow_animation): moved to be next to the add/remove timeout
functions,
(gtk_tree_view_unrealize),
(gtk_tree_view_row_deleted),
(gtk_tree_view_set_model),
(cancel_arrow_animation),
(gtk_tree_view_real_expand_row),
(gtk_tree_view_real_collapse_row): use the new add/remove functions.
svn path=/trunk/; revision=20205
Kristian Rietveld [Wed, 28 May 2008 09:02:29 +0000 (09:02 +0000)]
Amendment of bug 485218 - Strange warning encountered.
2008-05-28 Kristian Rietveld <kris@imendio.com>
Amendment of bug 485218 - Strange warning encountered.
* gtk/gtktreemodelsort.[ch]
(gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
indication whether or not the conversion had succeeded.
svn path=/trunk/; revision=20204
Matthias Clasen [Wed, 28 May 2008 01:43:34 +0000 (01:43 +0000)]
Bug 509788 – GTK+ should use CUPS to set Postscript level of PS output
* modules/printbackends/cups/gtkprintbackendcups.c
(cups_printer_create_cairo_surface): Fall back to PostScript level 2
if the printer does not support level 3. Patch by Marek Kašík.
svn path=/trunk/; revision=20203
Matthias Clasen [Wed, 28 May 2008 01:30:37 +0000 (01:30 +0000)]
Bug 404571 – Scroll arrow backgrounds should be painted with different
detail
* gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
as detail when drawing scroll arrow backgrounds. Proposed by
Tommi Komulainen.
svn path=/trunk/; revision=20202
Matthias Clasen [Wed, 28 May 2008 00:33:49 +0000 (00:33 +0000)]
Bug 511217 - potential memory corruption after refreshing a tree_view
* gtk/gtktreeview.c (cancel_arrow_animation): Reset
expanded_collapsed_node when canceling the animation.
Patch by Nicholas Setton.
svn path=/trunk/; revision=20201
Michael Natterer [Tue, 27 May 2008 23:55:28 +0000 (23:55 +0000)]
modules/input/gtkimcontextime.h modules/input/gtkimcontextmultipress.h
2008-05-28 Michael Natterer <mitch@imendio.com>
* modules/input/gtkimcontextime.h
* modules/input/gtkimcontextmultipress.h
* modules/input/gtkimcontextthai.h
* modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
individual files.
* modules/input/gtkimcontextime.c
* modules/input/gtkimcontextmultipress.c
* modules/input/gtkimcontextxim.c
* modules/input/imam-et.c
* modules/input/imcedilla.c
* modules/input/imcyrillic-translit.c
* modules/input/iminuktitut.c
* modules/input/imipa.c
* modules/input/imti-er.c
* modules/input/imti-et.c
* modules/input/imviqr.c: ditto. Some minor cleanups like moving
"gtk/gtkintl.h" to the end of includes.
svn path=/trunk/; revision=20200
Michael Natterer [Tue, 27 May 2008 23:45:36 +0000 (23:45 +0000)]
modules/engines/pixbuf/pixbuf-style.h include <gtk/gtk.h> instead of
2008-05-28 Michael Natterer <mitch@imendio.com>
* modules/engines/pixbuf/pixbuf-style.h
* modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
instead of individual files.
svn path=/trunk/; revision=20199
Matthias Clasen [Tue, 27 May 2008 23:16:06 +0000 (23:16 +0000)]
Bug 485218 - Strange warning encountered
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
(gtk_tree_model_sort_convert_child_iter_to_iter):
(gtk_tree_model_sort_build_level): Better warnings. Patch
by Kristian Rietveld.
svn path=/trunk/; revision=20198
Matthias Clasen [Tue, 27 May 2008 23:02:02 +0000 (23:02 +0000)]
Fixes
svn path=/trunk/; revision=20197
Matthias Clasen [Tue, 27 May 2008 22:50:49 +0000 (22:50 +0000)]
106574 - Inconsistent increment behavior for gtkspinbutton
* gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
Commit the entry text before doing an increment. Patch by
Björn Lindqvist.
svn path=/trunk/; revision=20196
Federico Mena Quintero [Tue, 27 May 2008 20:33:23 +0000 (20:33 +0000)]
bgo533891 - disallow DnD from the file list into itself
2008-05-27 Federico Mena Quintero <federico@novell.com>
http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
drag and drop from the file list into itself, as it doesn't make
sense (it would just change the current folder).
* gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
itself.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=20194
Matthias Clasen [Tue, 27 May 2008 20:27:40 +0000 (20:27 +0000)]
Bug 531887 - GtkTooltips is deprecated, but what should I use?
* gtk/tmpl/gtktooltips.sgml: Add a hint for what to use instead
svn path=/trunk/; revision=20193
Tor Lillqvist [Tue, 27 May 2008 16:51:33 +0000 (16:51 +0000)]
Use explicit G_MODULE_EXPORT decoration when building the loader in
2008-05-27 Tor Lillqvist <tml@novell.com>
* io-*.c: Use explicit G_MODULE_EXPORT decoration when building
the loader in question as a module.
* gdk-pixbuf-io.c: Enable included build of the icns and jasper
loaders.
svn path=/trunk/; revision=20192
Michael Natterer [Tue, 27 May 2008 15:07:26 +0000 (15:07 +0000)]
move deprecated guards around everything, including includes and include
2008-05-27 Michael Natterer <mitch@imendio.com>
* gtk/gtksignal.h: move deprecated guards around everything,
including includes and include guards (just as in all other
deprecated files).
svn path=/trunk/; revision=20191
Tor Lillqvist [Tue, 27 May 2008 13:03:49 +0000 (13:03 +0000)]
Use simpler mode for open() on Windows. (No S_I?GRP and S_I?OTH bits are
2008-05-27 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (build_cache): Use simpler mode for open()
on Windows. (No S_I?GRP and S_I?OTH bits are defined in
<sys/stat.h> on Windows, and the mode used in open() doesn't
matter much as there are no rwxrwxrwx bits on Windows anyway.)
Open file in binary mode. Passing "b" to fdopen() later isn't
enough.
svn path=/trunk/; revision=20190
Michael Natterer [Tue, 27 May 2008 12:50:45 +0000 (12:50 +0000)]
put back the #define, but call it GDK_PIXBUF_C_COMPILATION.
2008-05-27 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf.c: put back the #define, but call it
GDK_PIXBUF_C_COMPILATION.
* gdk-pixbuf-features.h.in: make variable export depend on that
define instead of GDK_PIXBUF_COMPILATION.
svn path=/trunk/; revision=20189
Michael Natterer [Tue, 27 May 2008 12:05:14 +0000 (12:05 +0000)]
Fix and simplify definition of GDK_PIXBUF_VAR:
2008-05-27 Michael Natterer <mitch@imendio.com>
Fix and simplify definition of GDK_PIXBUF_VAR:
* Makefile.am: add -DGDK_PIXBUF_COMPILATION to INCLUDES.
* gdk-pixbuf.c: don't #define it here. Remove GDK_PIXBUF_VAR from
the definition of the version variables.
* gdk-pixbuf-features.h.in: in the !G_PLATFORM_WIN32 case, always
define GDK_PIXBUF_VAR to "extern". Remove redundant #ifndef
GDK_PIXBUF_VAR around the whole block, the header itself already
has include guards.
svn path=/trunk/; revision=20188
10:33:41 Tim Janik [Tue, 27 May 2008 08:35:24 +0000 (08:35 +0000)]
guard gtk_widget_get_snapshot() against invalid or invisible widgets.
2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
* gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
invalid or invisible widgets.
svn path=/trunk/; revision=20187
Matthias Clasen [Tue, 27 May 2008 04:48:31 +0000 (04:48 +0000)]
Bug 531008 – Crash in gtkprintunixdialog.c
* gtk/gtkprintunixdialog.c: Disconnect signal handlers when
the dialog closes. Patch by Yevgen Muntyan.
svn path=/trunk/; revision=20186
Matthias Clasen [Tue, 27 May 2008 04:43:41 +0000 (04:43 +0000)]
RH bug 248245: cups client printing from gnome applications fail
* modules/printbackends/cups/gtkprintbackendcups.c
(gtk_print_backend_cups_print_stream): Specify the right server.
svn path=/trunk/; revision=20185
Carlos Garnacho [Tue, 27 May 2008 00:20:18 +0000 (00:20 +0000)]
Enable rubberbanding when "select-multiple" is TRUE. Bug #446068.
2008-05-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
rubberbanding when "select-multiple" is TRUE. Bug #446068.
svn path=/trunk/; revision=20184
Carlos Garnacho [Tue, 27 May 2008 00:12:33 +0000 (00:12 +0000)]
Enable correctly dialog buttons sensitivity when the anonymous option is
2008-05-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
correctly dialog buttons sensitivity when the anonymous option is
enabled by default. Bug #531865.
svn path=/trunk/; revision=20183
Carlos Garnacho [Tue, 27 May 2008 00:08:00 +0000 (00:08 +0000)]
Set password dialog modal and transient for the parent window also if it
2008-05-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
password dialog modal and transient for the parent window also if it
was specified in the constructor. Bug #531864.
svn path=/trunk/; revision=20182